<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mail Verwaltung Attachment</title>
<template>admin.html</template>
<usergroup>10</usergroup>
</head>

<body>
<div com="detail_data" table="_mail" id="[get:id]" var="detail" property_modus="false">detail data</div>
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1" com="save_form" table="_mail_attachment" property_modus="false">
  <label for="filename"></label>
  <input type="file" name="attachment_filename" id="attachment_filename" />
  <input type="submit" name="button" id="button" value="Upload" />
  <input name="_mail" type="hidden" id="_mail" value="[detail.id]" />
</form>
<p>Filename: <strong>[detail.filename]</strong><br />
  Subject: 
<strong>[detail.subject]</strong></p>
<table width="100%" border="1">
  <tr>
    <th scope="col">Filename</th>
    <th scope="col">&nbsp;</th>
  </tr>
  <tbody com="data" table="_mail_attachment" where="_mail='[detail.id]'" property_modus="false">
  <tr>
    <td><a href="[attachment_filename]">[attachment_filename]</a></td>
    <td><a href="" com="delete_data" table="_mail_attachment" id="[_mail_attachment_id]">löschen</a></td>
  </tr>
  </tbody>
</table>
</body>
</html>
